package com.bdqn.t350.ch06.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bdqn.t350.ch06.bean.User;

import java.util.List;

public interface UserService {

    List<User> selectList(QueryWrapper queryWrapper);

    IPage<User> selectPage(IPage<User> page, QueryWrapper queryWrapper);

    int insert(User user);

    int deleteById(int id);

    int updateById(User user);

}
